<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
	<div class="breadcrumb_wrap">
		<ul class="breadcrumb">
			<li>您的位置：</li>
			<li> <a href="#">订单管理</a> <span class="divider">></span> </li>
			<li class="active">明细</li>
		</ul>
	</div>
	<div class="product_con">
		<div class="title">
			<h3>订单基本信息</h3>
		</div>
		<div class="select_box">
			<form class="form-horizontal" role="form">
				<div class="form-group col-md-4">
					<label class="control-label">订单号：</label>
					<p>{{order.orderId}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">订单状态：</label>
					<p>{{order.statusName}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">订单时间：</label>
					<p>{{order.createTime}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">总重量/g：</label>
					<p>{{order.totalWeight}}g</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">实际价格/元：</label>
					<p>{{order.dealPrice}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">优惠券使用：</label>
					<p ng-show="order.ifCoupon">是</p>
					<p ng-show="!order.ifCoupon">否</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">优惠券名称：</label>
					<p>{{order.coupon.title}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">优惠价格：</label>
					<p>{{order.coupon.discountPrice}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">交易时间：</label>
					<p>{{order.dealTime}}</p>
				</div>
				<div class="form-group col-md-4">
					<label class="control-label">付款状态：</label>
					<p>{{order.payStatusName}}</p>
				</div>
				<div class="form-group col-md-4" ng-if="order.expressCode!=null">
					<label class="control-label">物流单号：</label>
					<p>{{order.expressCode}}</p>
				</div>
				<div class="form-group col-md-12" ng-if="order.expressage!=null">
					<label class="control-label">物流信息：</label>
					<p>{{order.expressage}}</p>
				</div>
				<div class="form-group col-md-12" ng-if="order.content!=null">
					<label class="control-label">订单备注：</label>
					<p>{{order.content}}</p>
				</div>
			</form>
		</div>
	</div>
	<div class="product_con">
		<div class="title">
			<h3>订单商品明细</h3>
		</div>
		<div >
			<button  class="btn btn-royal btn-outlined  " ng-class="{'active':typeOneChecked==item.id}" ng-if="getTypeIfContain(item.id,order.gTypeOneIdlist)" ng-repeat="item in gTypeList"  ng-click="typeOneClick(item)" style=" margin:5px;">{{item.title}}</button>
		</div>
		<div >
			<button  class="btn btn-royal btn-outlined  " ng-if="getTypeIfContain(item.id,order.gTypeIdlist)" ng-repeat="item in typeList" ng-class="{'active':typeChecked==item.id}" ng-click="typeClick(item)" style=" margin:5px;">{{item.typeName}}</button>
		</div>
		<div class="select_box " id="order_item_box">

			<div class="comment_add" ng-repeat="good in order.goods" ng-show="(curTypeOne.id==null&&curType.id==null)||curTypeOne.id==goods.typeOne||curType.id==goods.type">
				<div class="s_title">商品信息</div>
				<form class="form-horizontal" role="form">
					<div class="form-group col-md-3">
						<label class="control-label">商品图片：</label>
						<img ng-if="!(good.iconUrl!=undefined&&good.iconUrl!='')" ng-src="/app/images/goodsDefault.gif" width="100" height="100">
						<img ng-if="good.iconUrl!=undefined&&good.iconUrl!=''" ng-src="/dapi/download/getImageIO?imgUrl={{good.iconUrl}}" width="100" height="100">
					</div>
					<div class="form-group col-md-3">
						<label class="control-label">商品名：</label>
						<p><a href="/xdd/common/goodsDetail/{{good.goodsId}}">{{good.goodsTitle}}</a></p>
					</div>
					<div class="form-group col-md-2">
						<label class="control-label">数量/件：</label>
						<p>{{good.dealNum}}</p>
					</div>
					<div class="form-group col-md-2">
						<label class="control-label">单价/元：</label>
						<p>{{good.dealPrice}}</p>
					</div>
					<div class="form-group col-md-3" >
						<label class="control-label">规格/g：</label>
						<p>{{good.minWeight}}-{{good.maxWeight}}</p>
					</div>

                    <div class="form-group col-md-1">
                        <img class="control-label" style="height: 80px;width: 80px;" ng-if="good.phStatus==1" ng-src="/app/images/right.png">
                        <!--<img class="control-label" style="height: 80px;width: 80px;" ng-if="good.phStatus==0" ng-src="/app/images/wrong.png">-->
                    </div>
                    <div class="form-group col-md-2" ng-if="order.status==0 && order.payStatus==1">
                        <button class="btn btn-primary" ng-click="updatePhStatus(good)"> 修改配货状态</button>
                    </div>
					<div class="form-group col-md-12" ng-if="good.content!=null">
						<label class="control-label">商品备注：</label>
						<p>{{good.content}}</p>
					</div>
				</form>
			</div>

		</div>
	</div>
</div>